from django.urls import re_path
from . import consumers

websocket_urlpatterns = [
    re_path(r'ws/download-progress/(?P<task_type>[\w_-]+)/$', consumers.DownloadProgressConsumer.as_asgi()),
    re_path(r'ws/download/(?P<task_type>[\w_-]+)/$', consumers.DownloadProgressConsumer.as_asgi()),
    re_path(r'ws/test/(?P<task_type>[\w_-]+)/$', consumers.DownloadProgressConsumer.as_asgi()),
]